package leetcode.code0151;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution151 implements IDebug {

	public abstract String reverseWords(String s);

	@Override
	public void debug1() {
		HelpDebug.compare("blue is sky the", this.reverseWords("the sky is blue"));
	}

	@Override
	public void debug2() {
		HelpDebug.compare("world hello", this.reverseWords("  hello world  "));
	}

	@Override
	public void debug3() {
		HelpDebug.compare("example good a", this.reverseWords("a good   example"));
	}

	@Override
	public void debug4() {
		HelpDebug.compare("Alice Loves Bob", this.reverseWords("  Bob    Loves  Alice   "));
	}

	public void debug5() {
		HelpDebug.compare("bob like even not does Alice", this.reverseWords("Alice does not even like bob"));
	}

}
